// 订单商品 管理
import { axios } from '@/utils/request'

// 订单商品 根据id删除
export function deleteOrderGoodsId (parameter) {
  return axios({
    url: '/OrderGoods',
    method: 'delete',
    params: parameter
  })
}
// 订单商品 根据id查询
export function queryOrderGoodsId (parameter) {
  return axios({
    url: '/OrderGoods',
    method: 'get',
    params: parameter
  })
}
// 订单商品 列表查询
export function queryOrderGoods (parameter) {
  return axios({
    url: '/OrderGoods/query',
    method: 'post',
    data: parameter
  })
}
// 订单商品 保存
export function saveOrderGoods (parameter) {
  return axios({
    url: '/OrderGoods/save',
    method: 'post',
    data: parameter
  })
}
